package com.zhiyou100.HomeWork;

import java.util.Scanner;

public class ScoreSelect {
    public static void main(String[] args) {
        Scanner scr = new Scanner(System.in);
        System.out.println("请输入您的成绩：");
        int score = scr.nextInt();
        if(score>=90){
            System.out.println("您的成绩等级为A");
        }else if(score>=60){
            System.out.println("您的成绩等级为B");
        }else if(score>=0){
            System.out.println("您的成绩等级为C");
        }else{
            System.out.println("输入错误！");
        }
    }
}
